const sequelize = require("../mysqlconnect.js")
const {QueryTypes} = require("sequelize")
const user = {}
user.query = async (ctx)=>{
	const res = await sequelize.query("select * from user",{type:QueryTypes.SELECT})
	ctx.body = res
}

module.exports = user